package com.spa.domain.service;

import com.spa.domain.entity.MsgSmsLog;
import com.spa.infrastructure.mapper.MsgSmsLogMapperStruct;
import com.spa.infrastructure.repository.service.MsgSmsLogRepositoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MsgSmsLogService {
    @Autowired
    private MsgSmsLogRepositoryService MsgSmsLogRepositoryService;

    public boolean save(MsgSmsLog entity){
        return MsgSmsLogRepositoryService.saveContent( MsgSmsLogMapperStruct.INSTANCE.entity2Po(entity));
    }

}
